package com.eos.control.action.activity;

import com.eos.control.action.base.AbstractBaseAction;

public class AddSalesSetAction extends AbstractBaseAction {
	private Integer relationSetId;
	private Integer buyMethodId;
	private Double salePrice;
	private Integer setMealId;
	private Integer setMealCircle;
	private String note;

	public void setRelationSetId(Integer relationSetId) {
		this.relationSetId = relationSetId;
	}

	public void setBuyMethodId(Integer buyMethodId) {
		this.buyMethodId = buyMethodId;
	}

	public void setSalePrice(Double salePrice) {
		this.salePrice = salePrice;
	}

	public void setSetMealId(Integer setMealId) {
		this.setMealId = setMealId;
	}

	public void setSetMealCircle(Integer setMealCircle) {
		this.setMealCircle = setMealCircle;
	}

	public void setNote(String note) {
		this.note = note;
	}

	@Override
	public String execute() {
		try {
			
			statusCode = "200";
			message = "保存成功!";
		} catch (Exception e) {
			e.printStackTrace();
			statusCode = "300";
			message = "系统异常, 保存失败!";
		}
		return SUCCESS;
	}
}
